package org.sang.pojo;

import java.io.Serializable;
import java.util.List;


public class ServiceInfo implements Serializable {
    // 服务名称
    private String serviceName;
    // 服务地址，IP+端口号，多个使用逗号分隔
    private String serverAddress;
    // 上下文
    private String contextPath;
    // 服务中的api列表
    private List<ApiInfo> apiList;

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServerAddress() {
        return serverAddress;
    }

    public void setServerAddress(String serverAddress) {
        this.serverAddress = serverAddress;
    }

    public String getContextPath() {
        return contextPath;
    }

    public void setContextPath(String contextPath) {
        this.contextPath = contextPath;
    }

    public List<ApiInfo> getApiList() {
        return apiList;
    }

    public void setApiList(List<ApiInfo> apiList) {
        this.apiList = apiList;
    }
}
